package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("技师实体")
public class Engineer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("等级ID")
    private Integer levelId;

    @ApiModelProperty(value = "是否技师 0-否 1-是")
    private Integer isEngineer;

    @ApiModelProperty("是否冻结: 0-否 1-是")
    private Integer isFreeze;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty(value = "成为技师时间")
    private Long engineerTime;

    @ApiModelProperty(value = "是否删除: 0=否, 1=是")
    private Integer isDelete;

    @ApiModelProperty(value = "是否注销: 0=否, 1=是")
    private Integer isClose;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;

    @ApiModelProperty(value = "删除时间")
    private Long deleteTime;

}
